from django.urls import path
from . import views
app_name = 'goods'
urlpatterns = [
    path('list/<int:category_id>/<int:page_num>/', views.ListView.as_view(),name='list'), # 列表页展示
    path('hot/<int:category_id>/', views.HotView.as_view(),name='hot'), # 热销排行展示
    path('detail/<int:sku_id>/', views.DetailView.as_view(),name='detail'), # 商品详情页展示
    path('visit/<int:category_id>/', views.VisitlView,name='visit'), # 分类商品访问量统计
    path('comments/<int:sku_id>/', views.GoodsCommentsView.as_view(),name='comments'), # 获取商品评价信息
]
